<header class="navbar navbar-default" id="navbar">
  <script type="text/javascript">try {  ace.settings.check('navbar' , 'fixed')  }catch(e) {  }</script>
  <div class="navbar-container" id="navbar-container">
     <div class="navbar-header pull-left">
       <a href="#" class="navbar-brand"><small> 阿道夫小程序超管后台</small></a>
     </div>
    <div class="navbar-header pull-left" role="navigation">
      <ul class="nav navbar-nav navbar-left hidden-xs">
        <!-- <li><a href="{url('admin/user')}">用户管理</a></li>
        <li><a href="{url('admin/system')}">系统设置</a></li> -->
      </ul>
    </div>

    <div class="navbar-header pull-right" role="navigation">
      <ul class="nav ace-nav">
        <li class="light-blue">
          <a data-toggle="dropdown" href="#" class="dropdown-toggle">
            <img class="nav-user-photo" src="{$account->avatar}" alt="Jason's Photo">
            <span class="user-info"><small>{if date('h') > 12}上午{else}下午{/if}好,</small>{$account->nickname}</span>
            <i class="icon-caret-down"></i>
          </a>

          <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
            <li>
              <a href="{url('admin/user/info')}">
                <i class="icon-user"></i>
                个人资料
              </a>
            </li>
            <li class="divider"></li>
            <li>
              <a href="{url('admin/user/logout')}" class="modal-confirm" data-confirm="确认要退出？" >
                <i class="icon-off"></i>
                退出
              </a>
            </li>
          </ul>
        </li>
      </ul><!-- /.ace-nav -->
    </div>


  </div>
</header>

